package com.example.module01;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Controller;

@SpringBootApplication
@Controller
public class Module01Application {
    public String home() { // 控制层处理方法
        return "Spring Boot 开发实战"; // 响应的数据信息
    }


    public static void main(String[] args) {
        SpringApplication.run(Module01Application.class, args);
    }

}
